Repository navigation
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@chiragsalian Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
This comment has been minimized.
This comment has been minimized.
…pprove Switch the remaining bill checks from CONST.REPORT.UNSUPPORTED_TYPE.BILL to CONST.REPORT.TYPE.BILL. Hide chat search rows on an invoice that the bill receiver pays through its bill, using the snapshot's isHiddenForBillReceiver. Skip caching previews of reports that aren't loaded, so a hidden invoice that loads later stays hidden.
…pprove # Conflicts: # src/libs/actions/OnyxDerived/configs/visibleReportActions.ts # tests/unit/OnyxDerived/visibleReportActionsTest.ts
|
Incorrect optimistic data Screen.Recording.2026-11-23.at.8.58.10.PM.mov |
|
Bill disappears from bill receiver LHN if no green dot is shown Screen.Recording.2026-11-23.at.9.05.30.PM.movScreen.Recording.2026-11-23.at.9.28.18.PM.mov |
|
Bill report preview does not appear in policy expense chat unless it's approved at least once Screen.Recording.2026-11-23.at.9.20.15.PM.mov |
|
Bill title page shows not found view Screen.Recording.2026-11-23.at.9.32.51.PM.mov |
|
AI: Thanks for testing. I fixed two of these in 4313ae3:
The other three come from the same gap: Auth only creates a bill's preview in the policy expense chat when the bill is approved or forwarded, not when it's created. I'll follow up on those separately. |
s77rt
left a comment
There was a problem hiding this comment.
(initial review, still have more to review)
This only explains the Bill report preview does not appear in policy expense chat unless it's approved at least once bug. The remaining two:
Still stand as those can be reproduced even if the bill preview is displayed, so I'm not sure if it's the same Auth gap |
…secondary actions
…it, and title behavior
…pprove # Conflicts: # src/libs/ReportUtils.ts
|
@s77rt updated |
…pprove # Conflicts: # src/hooks/useSearchBulkActions.ts # src/libs/ReportActionsUtils.ts # src/libs/ReportUtils.ts
|
@s77rt updated |
…pprove # Conflicts: # tests/unit/ReportAlternateTextUtilsTest.ts
|
Code LGTM. Regarding #106139 (comment)
This is still an issue. Should it be a follow up?
This will be fixed in https://github.com/Expensify/Auth/pull/27164 so no longer a blocker |
|
AI: About Bill disappears from bill receiver LHN if no green dot is shown: this comes from Auth data, not this PR. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
…pprove # Conflicts: # tests/unit/ReportAlternateTextUtilsTest.ts
…pprove # Conflicts: # src/libs/ReportUtils.ts

Explanation of Change
Users with the
newDotBillPaybeta can now open existing bills in New Expensify and approve them.billmoves fromCONST.REPORT.UNSUPPORTED_TYPEtoCONST.REPORT.TYPE, andisExpenseReportcounts bills. Bills then open in the expense report view withMoneyReportHeader, which shows the bill's stored name, its status and the policy name.ReportNotFoundGuardandSearchMoneyRequestReportPagehide them, the same as before./r/<invoiceReportID>. Chat search readsisHiddenForBillReceiverfrom the search results, because the invoice is often not in Onyx.Paying bills and canceling bill payments come in a later PR. This PR is one piece of the split of App #105499 (#105499). It builds on #105967, #105969, #105966, #105964 and #106122, which are merged.
Fixed Issues
For https://github.com/Expensify/Expensify/issues/684654
PROPOSAL:
Tests
These steps work with Auth and Web on
main, with thenewDotBillPaybeta on for the accounts below.Set up a bill:
receiver.com, whose primary contact is an admin of a policy with approvals on. Make another policy admin the approver.Invoice noteon the invoice.Test the bill:
newDotBillPayin Settings > Troubleshoot > Beta overrides./r/<billReportID>.newDotBillPayin Settings > Troubleshoot > Beta overrides./r/<invoiceReportID>.type:chat Invoice note.Offline tests
newDotBillPayand open a bill waiting for your approval.QA Steps
Ping @cead22 for a bill to test with.
newDotBillPaybeta off./r/<billReportID>.newDotBillPayin Settings > Troubleshoot > Beta overrides.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
/r/<invoiceReportID>.type:chat Invoice note.Offline tests
newDotBillPayand open a bill waiting for your approval.QA Steps
Ping @cead22 for a bill to test with.
newDotBillPaybeta off./r/<billReportID>.newDotBillPayin Settings > Troubleshoot > Beta overrides.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
In line with test steps